<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
  <meta name="layout" content="main"/>
  <title> - Create New Listing</title>
</head>
<body>

<h1>Create a New Listing</h1>

<g:hasErrors bean="${listingInstance}">
    <div class="errors">
        <g:renderErrors bean="${listingInstance}" as="list" />
    </div>
</g:hasErrors>

<g:form action="save" >
    <fieldset>
        <g:render template="form"/>
    </fieldset>
    <fieldset>
        <g:submitButton name="create" value="${message(code: 'default.button.create.label', default: 'Create')}" />
    </fieldset>
</g:form>
<div>Listing will start as soon as it is created.</div>
</body>
</html>